import java.util.Scanner;
public class Iffive {
public static void main(String[] args) {
    try (Scanner scanner = new Scanner(System.in,"GBK")) {
        System.out.println("请输入男方的身高（单位：cm）：");
        int height = scanner.nextInt();
        System.out.println("请输入男方的财富（单位：千万）：");
        double wealth = scanner.nextDouble();
        System.out.println("请输入男方是否帅（是/否）：");
        String g = scanner.next();
       boolean handsome = g.equals("是");
        if (height >= 180 && wealth >= 10000000 && handsome) {
            System.out.println("一定要嫁给他!!!");
        } else if (height >= 180 || wealth >= 10000000 || handsome) {
            System.out.println("嫁吧");
        } else {
            System.out.println("不嫁！");
        }
    }
}

}
